﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>pagecontrol</title>

    <!-- WinJS references -->
    <link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" />
    <script src="//Microsoft.WinJS.1.0/js/base.js"></script>
    <script src="//Microsoft.WinJS.1.0/js/ui.js"></script>

    <link href="/css/default.css" rel="stylesheet" />
    <link href="/css/pagecontrol.css" rel="stylesheet" />
    <script src="/js/pagecontrol.js"></script>
	<script src="/js/mathlib.js"></script>
	<script src="/js/k3d_main.js"></script>
	<script src="/js/k3d_controller.js"></script>
	<script src="/js/k3d_object.js"></script>
	<script src="/js/k3d_light.js"></script>
	<script src="/js/k3d_renderer.js"></script>
	<script src="/js/k3dscript.js"></script>
</head>
<body>
    <div class="pagecontrol fragment">
        <header aria-label="Header content" role="banner">
            <button class="win-backbutton" aria-label="Back" type="button"></button>
            <h1 class="titlearea win-type-ellipsis">
                <span class="pagetitle">d20 Dice Roller - Graphic</span>
            </h1>
        </header>
        <section aria-label="Main content" role="main" id="menuContent">
            <nav>
                <ul>
                    <li><button id="d4">Show D4 dice</button></li>
                    <li><button id="d6">Show D6 dice</button></li>
                    <li><button id="d20">Show D20 dice</button></li>
                </ul>
            </nav>
            <div id="debug"></div>
        </section>
        <section aria-label="Canvas content" role="application" id="canvasContent">
	        <canvas id="canvas" width="800" height="600" style="background-color: #ffffff"></canvas>
        </section>
    </div>
    <div id="appBar" data-win-control="WinJS.UI.AppBar" data-win-options="">
        <button 
            data-win-control="WinJS.UI.AppBarCommand" 
            data-win-options="{id:'cmdHome',label:'Home',icon:'home',
                section:'global',tooltip:'Home page'}">
        </button>
        <hr 
            data-win-control="WinJS.UI.AppBarCommand" 
            data-win-options="{type:'separator',section:'global'}" />
        <button 
            data-win-control="WinJS.UI.AppBarCommand" 
            data-win-options="{id:'cmdTextBased',label:'Text-based',icon:'list',
                section:'global',tooltip:'Text-based dice roller'}">
        </button>
        <button 
            data-win-control="WinJS.UI.AppBarCommand" 
            data-win-options="{id:'cmdGraphic',label:'Graphic',icon:'placeholder',
                section:'global',tooltip:'Text-based dice roller'}">
        </button>
        <hr 
            data-win-control="WinJS.UI.AppBarCommand" 
            data-win-options="{type:'separator',section:'global'}" />
        <button 
            data-win-control="WinJS.UI.AppBarCommand" 
            data-win-options="{id:'cmdChangeUI',label:'Toggle',icon:'switch',
                section:'global',tooltip:'Toggle UI style'}">
        </button>
    </div>
</body>
</html>
